package org.jaaksi.customviewdemo

import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.marginEnd
import androidx.core.view.marginLeft
import androidx.core.view.marginRight
import kotlinx.android.synthetic.main.activity_gender_select.*

class GenderSelectActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_gender_select)

        btnChange.setOnClickListener {
            // 属于属性动画
//            view_female.animate()
//                .translationX(-300f)
//                .scaleX(0.8f)
//                .scaleY(0.8f)
//                .setDuration(500)
//                .start()
        }

        btnNext.setOnClickListener {
        }
    }
}